import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/vant/index'
import * as api from '@/api/index'
import token from '@/utils/token'
import * as filters from '@/utils/filter'


// 过滤器
Object.keys(filters).forEach(key =>{
  Vue.filter(key,filters[key])
})

Vue.prototype.$token = token
Vue.prototype.$api = api

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
